package com.yld.oa.department.dao;

import java.util.List;

import com.yld.oa.department.dto.DepAndEmpsDTO;
import com.yld.oa.department.entity.DepartmentEntity;

public interface DepartmentDao {
	
	
	DepartmentEntity  findById(Integer id);
	
	
	
	void addDepartment(DepartmentEntity department);
	
	
	/**
	 * 通过部门id查找部门的信息 和 部门下面的员工s的信息
	 * @param departmentId
	 * @return
	 */
	List<DepAndEmpsDTO>  findDepAndEmps(Integer departmentId);
}
